package com.zyl.file.constant;

/**
 * 文件常量
 */
public class FileConstants {
    //是否上传完成（0:未完成，1：完成）
    public static final Integer FILE_NOT_FINISH = 0;
    public static final Integer FILE_FINISH = 1;

    //区分移动端和pc端，移动端传值为0，pc端不传
    public static final String MOBILE_FILE_UPLOADURL = "0";
    public static final String PC_FILE_UPLOADURL = "1";

    //存储方式
    public static final Integer OSS = 1;
    public static final Integer NAS = 0;
    public static final Integer SFTP = 2;


    /**
     * 水印 0-查看  1-打印 2：下载
     */
    public static final Integer WATERMARK_TYPE_SHOW = 0;
    public static final Integer WATERMARK_TYPE_PRINTING = 1;
    public static final Integer WATERMARK_TYPE_DOWNLOAD = 2;

    /**
     * 是否加密 0否 1是
     */
    public static final Integer IS_ENCRYPT = 1;
}
